// ActionScript file
	
	package com.adobe.cairngorm.widget2.vo{
		import com.adobe.cairngorm.vo.ValueObject;
		[RemoteClass(alias="com.addobe.cairngorm.widget2.vo.Widget2VO")]
		public class Widget2VO implements ValueObject{
			
		}
	}
	
	
	
	
	
	
	
	
	
	<mx:Script>
		<![CDATA[
			import flash.events.TimerEvent;
			import flash.utils.Timer;
			private var timer:Timer;
			private var loadingcounter:int;
			
			private var searchcounter:int;
			
			public function StartTimer():void
			{
				timer=new Timer(30, 100);
				
				
				timer.addEventListener(TimerEvent.TIMER, search_Items);
				timer.addEventListener(TimerEvent.TIMER_COMPLETE, endsearch_Items);
				
				timer.start();
			}
			public function search_Items(e:TimerEvent):void
			{
				
				if(loadingcounter<=100)
				{
					
					loading.setProgress(loadingcounter, 100);
					loadingcounter+=1;
								
				}
				
				if(loadingcounter>=100)
				{
					loadingcounter=0;
					loading.setProgress(loadingcounter, 100);
					timer.stop();
					
				}
				return;
								
			}
			
			public function endsearch_Items(e:TimerEvent):void
			{
				loading.visible=false;
				s_Btn.x=92; s_Btn.y=5.65;
				i_item.visible=true; i_Image.visible=true; s_Logo.visible=true; s_Btn.visible=true;
				
				return;	
			}
			
		]]>
	</mx:Script>
	